﻿#include "madlady.h"

#include "../../include/itframework.h"
#include "../../include/itlogger.h"
#include "../../include/itcommon.h"
extern "C" __declspec(dllexport) ITModelBase* GetInstance(ITFramework *pFrame)
{
    MadLady *pMadLady = MadLady::GetInstance();
    pMadLady->SetFramework(pFrame);
    return dynamic_cast<ITModelBase*>(pMadLady);
}

void MadLady::SetFramework(ITFramework *pFrm)
{
    m_pFramework = pFrm;
    m_pFramework->GetLogger(&m_pLogger);
    m_pFramework->GetCommon(&m_pcommon);
}

MadLady::MadLady()
{
    qDebug() << "MadLady::MadLady()";
}

MadLady::~MadLady()
{
    qDebug() << "MadLady::~MadLady()";
}

T_BEGIN_MAP(MadLady)

T_END_MAP
